Moved backend code to proper folder