Added polymorphic querys for movements, enabling modifications for special cases. Added base.html file to extend from