Version 1.1

change work with DB + change work with templates + control from cmd