Merge pull request #7 from zhudhjen/master

All basic layout finished~
check errors in database functions
completing parser
merging to fix bugs