add core php file.
add sample template file.