How to add a new custom page directly rather than using Atlassian SDK to create a plugin

I’m a green hand here. I wanna add a new custom page directly, using Soy or Velocity template. I’ll modify the source codes rather than developing a plugin. I don’t know the instructions.
Is there any tutorials ? Thanks!