Added the daemon class #30
Started implementation of core module #30