Basic functionality added. Skeleton functions added. Lots of new backend logic