first version, with basic layout & static controller added