Added API script to layout

Added LoginController
Added BIZFactory
Added HomeController that doesn't do much right now.